<template>
    <div class="about" @click="OnPointerClick">
        {{ ModalComponent.Default.Options.Content }}
    </div>
</template>

<script setup lang="ts">
import ModalComponent from '@runtime/module/Modal/ModalComponent';

function OnPointerClick() {
    ModalComponent.Default.TrySetResult('Close');
}
</script>

<style scoped>
.about {
    width: 32%;
    height: 20%;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
</style>